package com.chuanyekeji.aokai.Mapper;

import com.chuanyekeji.aokai.Entity.Cases;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CasesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Cases record);

    int insertSelective(Cases record);

    Cases selectByPrimaryKey(Integer id);

    List<Cases> getCases(@Param("indexRow") int indexRow, @Param("lastRow")int lastRow);

    int getCasesCount();

    Cases selectNextId(int id);
    Cases selectLastId(int id);
    int updateByPrimaryKeySelective(Cases record);

    int updateByPrimaryKey(Cases record);
}